package com.RedRiver.hospitalsystem.record_service.service;

import com.RedRiver.hospitalsystem.record_service.form.CreatePrescriptionForm;
import com.RedRiver.hospitalsystem.record_service.info.GetPersciptionInfo;
import com.RedRiver.hospitalsystem.record_service.infra.model.Prescription;
import com.RedRiver.hospitalsystem.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-04-26
 */
public interface PrescriptionService extends IService<Prescription> {

    Result<?> addPerscription(CreatePrescriptionForm prescriptionForm);

    GetPersciptionInfo searchPersciption(Integer id);
}
